<!-- >> list-view-template-selector -->
<ListView [items]="myItems" [itemTemplateSelector]="templateSelector">
    <ng-template nsTemplateKey="header" let-item="item">
        <header-component [data]="item"></header-component>
    </ng-template>
    
    <ng-template nsTemplateKey="item" let-item="item">
        <item-component [data]="item"></item-component>
    </ng-template>
</ListView>
<!-- << list-view-template-selector -->